Skip to main content

Cocoa Pods Integration

Here you will learn how to integrate the Group Link iOS SDK using the Cocoa Pods dependency manager.

Step 1 - CocoaPods install

First of all, check if you have the CocoaPods framework installed in your macOS, you can check this by running the pod --version command in your terminal.

pod --version

Step 1

Terminal screen with the Cocoa Pods version

If you don't have the CocoaPods framework installed, you need to install it first through their installation tutorial.

Step 2 - Project Pod init

You must open a terminal page in your project directory to init the CocoaPods framework inside your project, and run the pod init command.

pod init

Step 2

Pod init command on the Terminal screen

Step 3 - Adding to the Podfile

Now with your preferred text editor open the Podfile and add the Group Link Pod to your project, inside the target tag.

pod 'GroupLinkSDK'

Step 3

GroupLinkSDK inside the Podfile

Step 4 - Installing Pods

You now can run the pod install command on your terminal this will install the Group Link Package to your project.

pod install

Step 4.1

Pod install command on Terminal

Open your project with the .xcworkspace file from now on, this will include all the pod packages for your project.

Step 4.2

Finder showing the xcworkspace file

To check if the package is in your project, open the Pod project on your project sidebar and check for GroupLinkSDK.

Step 5

Pod project with the GroupLinkSDK

Next Steps

Now you can check the iOS Required Permissions page to continue the setup.